package com.tanhua.dubbo.server.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * 单条动态信息
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "message")
public class Movements {

    private String id; //动态id
    private Integer userId; //用户id
    private String userLogo; //头像
    private String nickname; //昵称
    private String text; //正文
    private String[] medias; //图片动态
    private String state; //审核状态
    private Long createDate; //发布时间 如: 10分钟前
    private Integer likeCount; //点赞数
    private Integer reportCount; //举报数
    private Integer commentCount; //评论数
    private Integer forwardingCount; //	转发数
    private Integer topState;//是否置顶


}